<!DOCTYPE HTML>
<html>
<head>

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>RRKEMR_Print004</title>
	<script type="text/javascript" src="../third-party/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../ueditor.oneEditorPrint.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="editor_api_oneEditorPrint.js"></script>
</head>
<body>
    <h1>RRKEMR_Print004</h1>

	<h2><input type="button" id="btn02" value="My Iframe打印"></h2>
    <!--style给定宽度可以影响编辑器的最终宽度-->
    <script type="text/plain" id="myEditor" style="width:1024px;height:500px;">
        <p>这里我可以写一些输入提示</p>
    </script>
    <script type="text/javascript">
        var editor01 = UE.getEditor('myEditor');
		$(function(){
			var btn02 = $('#btn02');
			
			btn02.on('click', function(){
				console.log( editor01 );
				var _children = editor01.body.children;
				console.log( _children );
				$.each(_children, function(i, n){
					var item = $(n);
					console.log( item.height() );
					console.log( item.html() );
				});
			});
		});
// window.onload=function(){window.print();};
    </script>

</body>


</html>
